package com.higold.cloud.mvp.contract

import com.higold.cloud.base.IBaseView
import com.higold.cloud.base.IPresenter
import com.higold.cloud.mvp.model.bean.userInfo.UserInfo

/**
 *    author : lxz
 *    date   : 2019/9/10 9:13
 *    desc   :
 */
interface UserInfoContract {

    interface View : IBaseView {
        /**
         * 设置排行榜的数据
         */
        fun setUserInfo(userInfo: UserInfo)

        fun showError(errorMsg: String, errorCode: Int)
    }


    interface Presenter : IPresenter<View> {
        /**
         * 获取 TabInfo
         */
        fun requestUserInfo(accountId: Int)
    }
}